<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('user_credit_card_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>银行编号：</span>{:widget('common/Select/select',array('bank_id',array($bank_list,"bank_id","bank_name"),$bank_id))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡编号</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户名称</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>银行编号</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>所属银行</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>额度</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>已使用额度</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>创建时间</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>更新时间</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>状态</p></a></th>
            </tr>
            </thead>
            <tbody>
            {foreach name="user_credit_card_list" item="info"}
            <tr>
                <td>{$info.user_credit_card_id}</td>
                <td>{$info.user_id}</td>
                <td>{:widget('common/Name/user',array($info['user_id']))}</td>
                <td>{$info.bank_id}</td>
                <td>{:widget('common/Name/bank',array($info['bank_id']))}</td>
                <td>{$info.amount}元</td>
                <td>{$info.used_amount}元</td>
                <td>{$info.create_time}</td>
                <td>{$info.update_time}</td>
                <td>{:widget('common/Color/Color',array("credit_card_status",$info['credit_card_status']))}</td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>